/*****************************************************************************\
     Snes9x - Portable Super Nintendo Entertainment System (TM) emulator.
                This file is licensed under the Snes9x License.
   For further information, consult the LICENSE file in the root directory.
\*****************************************************************************/

#pragma once
#include "gtk_builder_window.h"
#include "gtk_config.h"

class Snes9xNetplayDialog : public GtkBuilderWindow
{
  public:
    Snes9xNetplayDialog(Snes9xConfig *config);
    ~Snes9xNetplayDialog();
    bool show();
    void update_state();

  private:
    Snes9xConfig *config;
    void settings_to_dialog();
    void settings_from_dialog();
};